<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid silver; background-color:#fefefe">
	<tr>
		<td>
		<table cellpadding="0" cellspacing="0">
			<tr>
				<td width="70" style="border-right:1px solid silver " align="center"><input type="checkbox" onClick="checkboxStatus('ids',this.checked);"></td>
				<!--<td style="padding:0px 5px 0px 5px; border-right:1px solid silver"><a href="#" target="_self" >{t t="Žymėti visus"}</a></td>
				<td style="padding:0px 5px 0px 5px; border-right:1px solid silver"><a href="#" target="_self" onClick="checkboxStatus('ids',false); return false;">{t t="Nuimti žymėjimą"}</a></td>-->

				<td width="20" align="center" height="20"><a onClick="openCenteredOnOpenerWindow('index.php?admin=1&popup=19&module=clients','x',400,300,1,0); return false" href="#"><img src="_tvs_system_core_/design/img/icon_new_doc.gif"></a></td>		
				<td style="padding:0px 10px 0px 0px; border-right:1px solid silver"><a onClick="openCenteredOnOpenerWindow('index.php?admin=1&popup=19&module=clients','new_clien_add',400,300,1,0); return false" href="#"><nobr>{t t='Sukurti naują klientą'}</a></td>

				<td width="20"  height="20" align="center"><a href="#" onClick="if (confirm('{t t='confirm_delete_many'}')) {ldelim}window.document.forms['child_list']['act'].value='del_mas'; window.document.forms['child_list'].submit(); child_list.submit(){rdelim}" target="_self"><img src="_tvs_system_core_/design/img/admin/_icon_delete.gif"></a></td>
				<td style="padding:0px 10px 0px 0px; border-right:1px solid silver"><a href="#" onClick="if (confirm('{t t='confirm_delete_many'}')) {ldelim}window.document.forms['child_list']['act'].value='del_mas'; window.document.forms['child_list'].submit(); child_list.submit(){rdelim}" target="_self"><nobr>{t t='Trinti pažymėtus'}</a></td>

				<td width="20" align="center" height="20"><a href="#" onClick="openCenteredOnOpenerWindow('index.php?admin=1&popup=45','client_to_group_add',400,400,1,1); return false"><img src="_tvs_system_core_/design/img/icon_new_doc.gif"></a></td>
				<td style="padding:0px 10px 0px 0px; border-right:1px solid silver"><a onClick="openCenteredOnOpenerWindow('index.php?admin=1&popup=45','client_to_group_add',400,400,1,1); return false" href="#"><nobr>{t t='Priskirti grupei'}</a></td>

				<!-- *  -->
				<td style="border-right:1px solid silver; ">
				{ext->class_function class="clients" func="get_clients_group" assign="groups_list"}
				{*debug var=$groups_list*}
				<script language="javascript1.4" type="text/javascript">
					aBadWords=new Array("client_list_page_nr");
				</script>
				<select style="width:150px; margin:2px 10px 2px 10px " name="client_group_filter_id" onChange="doTheFiltering(this,'client_group_filter_id',aBadWords)">					
					<option value="" {if !$smarty.get.client_group_filter_id} selected{/if} style="color:#999999 ">{t t='Klientai priklausantys...'}</option>
					{foreach from=$groups_list item="group"}									
						<option value="{$group.id}" {if $smarty.get.client_group_filter_id==$group.id} selected{/if}>{if $group.parent}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{/if}{$group.name}</option>
					{/foreach}							
				</select>		
				</td>
				<!-- /*  -->
				<td style="border-right:1px solid silver; padding:0px 0px 0px 0px;">
				<select style="width:170px; margin:2px 10px 2px 10px " name="client_list_page_nr" onChange="doTheFiltering(this,'client_list_page_nr')">					
					{foreach from=$page_data.pages item="el"}
						<option value="{$el.number}" {if $page_data.current_page.number==$el.number} selected{/if}>{t t='Puslapis'} {$el.number} ({t t='nuo'} {math equation="x*y-y" x=$el.number y=$_var.clients_per_page} {t t='iki'} {math equation="x*y" x=$el.number y=$_var.clients_per_page})</option>
					{/foreach}
						<option value="-1" {if $page_data.current_page.number==-1} selected{/if}>{t t='Viskas viename puslapyje'}</option>
				</select>		
				</td>
				<!-- *  -->
				<td style="border-right:1px solid silver; ">
				{ext->class_function class="clients" func="get_all_fields" assign="field_list"}
				{*debug var=$field_list*}
				<select style="width:150px; margin:2px 10px 2px 10px " name="client_form_field_name" onChange="doTheFiltering(this,'client_form_field_name')">					
					<option value="" {if !$smarty.get.client_form_field_name} selected{/if} style="color:#999999">{t t="Rūšiuoti pagal"}...</option>
					{foreach from=$field_list item="field"}		
					{if $field!='id_pass' && $field!='id_login'}							
						<option value="{$field}" {if $smarty.get.client_form_field_name==$field} selected{/if}>{$field}</option>
					{/if}
					{/foreach}							
				</select>		
				{*debug var=$data.aditionalelements*}	
				</td>
				<!-- /*  -->
				<td style="padding-left:10px; width:20px;">
					<a href="index.php?admin=1&mod=client&act=export_client_emails&module=clients" target="_self"><nobr><img src="_tvs_system_core_/design/img/icon_export.gif" width="13" height="12" alt="{t t='Eksportuoti visų klientų sąrašą'}"/></a>
				</td>
			</tr>
		</table>
		</td>		
	</tr>
</table>